<?php
App::uses('AppModel', 'Model');
/**
 * PreinscriptionProcess Model
 *
 * @property Section $Section
 */
class PreinscriptionProcess extends AppModel {


	//The Associations below have been created with all possible keys, those that are not needed can be removed

	public $validate = array(
		'year' => 'notEmpty',
		'semester' => 'notEmpty',
		'section_load_begin_date' => 'date',
		'obtaining_demand_begin' => 'date',
		'presentation_validation_of_results_begin' => 'date',
		'end_of_the_process' => 'date',
			
	);

/** 
 * hasMany associations
 *
 * @var array
 */
	public $hasMany = array(
		'Section' => array(
			'className' => 'Section',
			'foreignKey' => 'preinscription_process_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
